package com.chen.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chen.entity.ShoppingCart;

import java.util.List;

public interface ShoppingCartService extends IService<ShoppingCart> {
    List<ShoppingCart> shoppingCartList(Long userId);

    ShoppingCart addSC(ShoppingCart shoppingCart);

    void clean();

    void sub(ShoppingCart shoppingCart);
}
